Release 10.1A: OpenEdge Development:
Progress Dynamics Web Development Guide
Specifying the location of static files
Static files include HTML, JavaScript, Cascading Style Sheet, application, and graphics files. The Web server can find these files through the use of virtual directories, or it can find them when they are installed under the Web Server’s Document Root directory.
You choose where to put the static files during the installation of Progress Dynamics. Figure 3–2 shows the Progress Dynamics installation dialog box where you can choose to copy the files to the Document Root Directory. The actual location of the Document Root Directory depends on your Web server. You specify the location of the Document Root Directory when you install WebSpeed.
Figure 3–2: AppServer and WebSpeed Broker Options
![]()
Rather than physically moving static files into or below the Document Root, you can set up a virtual directory that points to the directory (install_dir
\tty\dynamics\ry) that contains the static files. For more information on setting up virtual directories, see the "Configuring the IIS Web server" section or the "Configuring the Apache Web server" section. Refer to individual product documentation for other Web servers.The static files for Web applications reside under a relative path structure with main module files separated into subdirectories, as shown in Table 3–2.
Table 3–2: Directory structure for static files Directory Contents path Link pages for testing and tools (index.html,default.htm). path\dhtml DHTML files:.css,.htm, and.js. path\img Images.Note: In table Table 3–2, path can be either a virtual directory that points to install_dir
\tty\dynamics\ry, or a document_root_dir\ry(where document_root_dir is the Document Root directory of your Web server).
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |